import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {ConIndexVideoComponent} from './con-index-video.component';

const routes: Routes = [
    {path: '', component: ConIndexVideoComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-con-index-video/add-con-index-video.module#AddConIndexVideoModule'},
            {path: 'list', loadChildren: './list-con-index-video/list-con-index-video.module#ListConIndexVideoModule'},
            {path: 'modify', loadChildren: './modify-con-index-video/modify-con-index-video.module#ModifyConIndexVideoModule'},
            {path: 'report', loadChildren: './report-con-index-video/report-con-index-video.module#ReportConIndexVideoModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class ConIndexVideoRoutingModule {
}
